const path = require("path");

const resolve=dir=>path.join(__dirname,dir)

module.exports = {
  chainWebpack: config => {
    config.resolve.alias
    .set("~common", resolve('src/components/common'))
	.set('~public', resolve('public'))
  }
}